

class frInteger
{
public:
	frInteger()
	{
		m_data = 0;
	}
	frInteger(int i)
	{
		m_data = i;
	}
	frInteger(double d)
	{
		m_data = static_cast<int>(d);
	}
	frString toString()
	{
		frString str;
		str << m_data;
		return str;
	}
	char* toCStr()
	{
		char buf[32];
		sprintf(buf, "%d", m_data);
		return buf;
	}
	bool equals(frInteger i)
	{
		return m_data == i.m_data;
	}
private:
	int m_data;
};

typedef frIntefer frInt;